package com.nc.bean;
import java.util.*;
public class Person{
	private Integer id;
	private String name;
	private Integer sex;
	private String headUrl;
	private String profession;
	private String introduce;
	private Date createdTime;
	private Date updatedTime;

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
	return id;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getName(){
	return name;
	}

	public void setSex(Integer sex){
		this.sex = sex;
	}

	public Integer getSex(){
	return sex;
	}

	public void setHeadUrl(String headUrl){
		this.headUrl = headUrl;
	}

	public String getHeadUrl(){
	return headUrl;
	}

	public void setProfession(String profession){
		this.profession = profession;
	}

	public String getProfession(){
	return profession;
	}

	public void setIntroduce(String introduce){
		this.introduce = introduce;
	}

	public String getIntroduce(){
	return introduce;
	}

	public void setCreatedTime(Date createdTime){
		this.createdTime = createdTime;
	}

	public Date getCreatedTime(){
	return createdTime;
	}

	public void setUpdatedTime(Date updatedTime){
		this.updatedTime = updatedTime;
	}

	public Date getUpdatedTime(){
	return updatedTime;
	}
	public Person(){}
	public Person(Integer id,String name,Integer sex,String headUrl,String profession,String introduce,Date createdTime,Date updatedTime){
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.headUrl = headUrl;
		this.profession = profession;
		this.introduce = introduce;
		this.createdTime = createdTime;
		this.updatedTime = updatedTime;
	}
	@Override
	public String toString() {
	return id+"\t"+name+"\t"+sex+"\t"+headUrl+"\t"+profession+"\t"+introduce+"\t"+createdTime+"\t"+updatedTime;
}
	}
